home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d3 / pctyp2_b.arc / PCTDOC2.COM / CHAP28.TXT < prev    next >
Text File  |  1989-04-21  |  19KB  |  505 lines

  1.        subject: DESC.EXE - CREATING A FILE REMINDER REPORT
  2.  
  3.        purpose  The DESC.EXE program creates a simple report of all
  4.                 the .PCT files on a directory along with their
  5.                 associated "File Reminders".
  6.  
  7.     discussion: If a PC-Type II file is saved in document format (i.e.,
  8.                 saved with a .PCT file extension), a "File Reminder"
  9.                 is saved along with the text.  This reminder is a one
  10.                 line statement about the file.  It can be entered when
  11.                 saving a .PCT file (if no reminder for the file has
  12.                 yet been created).  It can also be entered separately
  13.                 with the "(R)eminder" option of the Filing Options
  14.                 menu reached by pressing Q from the Main Menu.
  15.  
  16.         format: At the DOS prompt, type:
  17.  
  18.                 DESC {pathspec} {>filespec}
  19.  
  20.                 DESC with no parameters will type the report of all
  21.                 .PCT files in the current directory on your screen.
  22.  
  23.                 If "pathspec" is provided, the report will be created
  24.                 for all .PCT files in the "pathspec" directory.
  25.                 "pathspec" can include a drive and path.
  26.  
  27.                 The output report can be redirected to a disk file by
  28.                 adding the parameter ">filespec".  ">" redirects the
  29.                 output to the file defined by "filespec" which can
  30.                 include a drive and path but must include a filename.
  31.  
  32.       examples: C>DESC c:\text
  33.                 The report of .PCT files in directory C:\TEXT is typed
  34.                 on the screen.
  35.  
  36.                 C>DESC >c:\data\report
  37.                 The report of .PCT files on the default directory is
  38.                 saved in the file REPORT in directory DATA on drive C.
  39.  
  40.                 C>DESC c:\text >c:\data\report
  41.                 The report of .PCT files in directory C:\TEXT is saved
  42.                 in the file REPORT in directory DATA on drive C.
  43.  
  44.                 C>DESC >PRN
  45.                 The report of .PCT files in the default directory are
  46.                 redirected to the standard printer.
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.                                  289
  57.  sample report: A sample report from DESC is shown below.
  58.  
  59.                 PCT report: Thu Feb 28 22:18:40 1989
  60.                 ------------------------------------
  61.  
  62.                 List of .PCT files found on default directory
  63.  
  64.                 Date     Time     Filename Description
  65.                 -------- -------- -------- -----------
  66.                 08-24-88 20:38:34 DOCCMD   command line documentation
  67.                 08-11-88 09:26:48 DOCMM
  68.                 07-01-88 23:59:10 MARK     ... Not a document file ...
  69.                 02-28-89 22:30:52 MM       test mail-merge
  70.                 01-09-89 15:51:00 PRINT    check print markers
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.                                  290
  113.        subject: PCMERGE.EXE - UPDATE THE FAULT FINDER DICTIONARY
  114.  
  115.     discussion: Words can be added or deleted from the dictionary file
  116.                 PCTYPE.DIC used by PC-Type II's Fault Finder.  This is
  117.                 accomplished with the program PCMERGE.  The words to
  118.                 be added or deleted are stored in the file PCTYPE.ADD.
  119.  
  120.                 When the Fault Finder stops on a word which does not
  121.                 exist in the dictionary, one of your options is to
  122.                 accept the word and add it to the PCTYPE.ADD file.
  123.                 You can edit this file to add or delete other words.
  124.  
  125.                 PCMERGE.EXE reads the contents of PCTYPE.ADD and
  126.                 modifies the dictionary file PCTYPE.DIC accordingly.
  127.                 You can add and delete as many words as you like
  128.                 but you cannot make more than 500 changes at a time.
  129.  
  130.                 All lines in excess of 500 will be ignored. Duplicate
  131.                 entries will be caught by PCMERGE and attempting to
  132.                 add words which already exist, or to delete words
  133.                 which do not exist will not cause any problems.
  134.  
  135.        running: (1) PCMERGE.EXE, PCTYPE.DIC, and PCTYPE.ADD must all
  136.                     be in the same directory.
  137.                 (2) Make that directory your default directory.
  138.                 (3) Make any last minute changes to PCTYPE.ADD.
  139.                 (4) Type   PCMERGE   at the DOS prompt.
  140.  
  141.                 Each time you run PCMERGE, the last version of your
  142.                 PCTYPE.DIC file will first be copied to a new file
  143.                 named PCTDIC.BAK on a disk you specify which has
  144.                 sufficient space to hold the file.  Should anything go
  145.                 wrong while running PCMERGE, you can always restore
  146.                 your previous dictionary by copying PCTDIC.BAK back to
  147.                 PCTYPE.DIC.
  148.  
  149.                 At the end of PCMERGE, you will be asked if you want
  150.                 to erase the PCTYPE.ADD file.  We recommend that you
  151.                 keep track of your dictionary modifications in case
  152.                 your dictionary file gets damaged.  Add the new list
  153.                 of words in PCTYPE.ADD to a file such as WORDS.NEW and
  154.                 then erase PCTYPE.ADD manually.
  155.  
  156.     pctype.add: The format of modifications within PCTYPE.ADD is
  157.                 simple:
  158.                          a newword
  159.                          d oldword
  160.  
  161.                 The "a" implies add and the "d" implies delete.
  162.  
  163.                 There are three rules you must follow:
  164.                 (1) Only one modification per line.
  165.                 (2) No hyphenated words.
  166.                 (3) A space must be placed between the "a" or "d" and
  167.                     the word to be added or deleted.
  168.                                  291
  169.        subject: XWORD.EXE
  170.  
  171.     discussion: XWORD can be used to help you with some of those
  172.                 difficult crossword puzzles.  For a given word, you
  173.                 supply the position of the letters which you already
  174.                 know.  XWORD provides you with a list of words of the
  175.                 required length which use those letters in those
  176.                 positions.
  177.  
  178.                 XWORD uses the dictionary file PCTYPE.DIC, and must
  179.                 know where it is located.  To find the directory, it:
  180.                 (1) looks in the current directory.
  181.                 (2) looks in the directory where XWORD is located
  182.                     if you use DOS version 3.0 or later.
  183.                 (3) searches the parameters for a path to PCTYPE.DIC.
  184.                 If XWORD cannot find the dictionary, it will say:
  185.                 "Cannot open pctype.dic" and will return to DOS.
  186.  
  187.         format: At the DOS prompt, type:
  188.  
  189.                 XWORD {word1 ... wordn} {pathspec} {>filespec}
  190.  
  191.                 If word parameters are specified, XWORD operates on
  192.                 each of them in turn, outputs the results, and then
  193.                 returns to DOS.  If word parameters are not specified,
  194.                 you are prompted for each partial word.  After results
  195.                 are displayed, you can quit or process another.  The
  196.                 word parameters contain the letters you know.  Letters
  197.                 you don't know should be replaced with question marks.
  198.  
  199.                 PATHSPEC, the path to the dictionary file, is needed
  200.                 if XWORD cannot find the PCTYPE.DIC file.
  201.  
  202.                 FILESPEC can be used to save results in a file.  The
  203.                 '>' tells DOS to redirect XWORD output to "filespec".
  204.  
  205.       examples: C>xword c:\util\pct_dict
  206.                 Enter partial word as:
  207.                    ?br??d   : im???se
  208.                 (1) immense
  209.                 (2) immerse
  210.                 (3) impasse
  211.                 (4) impulse
  212.                 Do another?  Press Y or N.     n
  213.  
  214.                 C>xword im???se fr???d c:\util\pct_dict >save.dta
  215.  
  216.                 File SAVE.DTA will contain:
  217.  
  218.                 Fill in word:  --> im???se <--
  219.                 (1) immense
  220.                 (2) immerse
  221.                 (3) impasse
  222.                 (4) impulse
  223.                 .....
  224.                                  292
  225.        subject: SCRAMBLE.EXE
  226.  
  227.     discussion: SCRAMBLE can be used to help you with the "Jumbles" in
  228.                 the newspaper.  You supply the scrambled letters, and
  229.                 SCRAMBLE gives you all the words in the dictionary
  230.                 which use exactly those letters.
  231.  
  232.                 SCRAMBLE uses the dictionary file PCTYPE.DIC, and must
  233.                 know where it is located.  To find the directory, it:
  234.                 (1) looks in the current directory.
  235.                 (2) looks in the directory where SCRAMBLE is located
  236.                     if you use DOS version 3.0 or later.
  237.                 (3) searches the parameters for a path to PCTYPE.DIC.
  238.                 If SCRAMBLE cannot find the dictionary, it will say:
  239.                 "Cannot open pctype.dic" and will return to DOS.
  240.  
  241.         format: at the DOS prompt, type:
  242.  
  243.                 SCRAMBLE {word1 ... wordn} {pathspec} {>filespec}
  244.  
  245.                 If word parameters are specified, SCRAMBLE operates on
  246.                 each of them in turn, outputs the results, and then
  247.                 returns to DOS.  If word parameters are not specified,
  248.                 you are prompted for each scrambled word.  After
  249.                 results are displayed, you can quit or process
  250.                 another.  The word parameters contain the letters to
  251.                 be unscrambled.
  252.  
  253.                 PATHSPEC, the path to the dictionary file, is needed
  254.                 if SCRAMBLE cannot find the PCTYPE.DIC file.
  255.  
  256.                 FILESPEC can be used to save results in a file.  The
  257.                 '>' tells DOS to redirect XWORD output to "filespec".
  258.  
  259.       examples: C>scramble c:\util\pct_dict
  260.  
  261.                 Enter scrambled word: olaf
  262.                 (1) foal
  263.                 (2) loaf
  264.                 Do another?  Press Y or N.    n
  265.  
  266.  
  267.                 C>scramble olaf eregn c:\util\pct_dict >save.dat
  268.  
  269.                 File SAVE.DTA will contain:
  270.  
  271.                 Unscramble: --> olaf <--
  272.                 (1) foal
  273.                 (2) loaf
  274.  
  275.                 Unscramble: --> eregn <--
  276.                 (1) genre
  277.                 (2) green
  278.  
  279.  
  280.                                  293
  281.        subject: CNB.BAT and CN.EXE
  282.  
  283.     discussion: In general, this new version of PC-Type II is compatible
  284.                 with old PC-Type+ files.  However, if you previously
  285.                 used PC-Type+ and saved files containing special
  286.                 lines, page breaks, and printer markers, the special
  287.                 lines and print markers will be lost or distorted.
  288.                 You can run the batch file CNB.BAT to convert such
  289.                 files to the new PC-Type II format.
  290.  
  291.                 CNB.BAT calls the program CN.EXE, so both of these
  292.                 files should be in a directory which exists in your
  293.                 PATH statement.  If they are not in such a directory,
  294.                 then they must be on your default directory.  This
  295.                 process will copy your old PC-Type+ file to a new file
  296.                 with a .PCT extension and add a preamble to the file.
  297.                 The resulting .PCT file will be a new PC-Type II file in
  298.                 the current document format.
  299.  
  300.                 The new file is a copy of the old file.  The original
  301.                 will be left intact.  The new file will be located in
  302.                 the same directory as the old file.
  303.  
  304.                 NOTE: If you do not have special lines, page breaks
  305.                       and print markers in a PC-Type+ file, then it
  306.                       does not have to be converted to be read
  307.                       correctly by the new PC-Type II.
  308.  
  309.         format: At the DOS prompt, type:
  310.  
  311.                 CNB filename extension
  312.  
  313.                 FILENAME can include the path as well as the filename
  314.                 of the source file.  It cannot include a period at the
  315.                 end nor the file extension.
  316.  
  317.                 EXTENSION should be the extension of the source file.
  318.                 No period should be present.  If the source file has
  319.                 no extension, leave this parameter blank.
  320.  
  321.                 If the file being converted already has a .PCT
  322.                 extension, you must first rename the file so that it
  323.                 has a different extension.
  324.  
  325.                 NOTE: If you type CNB with no parameters, the
  326.                       directions on how to use CNB will be typed on
  327.                       your screen.
  328.  
  329.        Example: C>cnb d:\savedoc\myfile doc
  330.  
  331.                 The file MYFILE.DOC in directory SAVEDOC on drive D is
  332.                 copied and converted to the new file MYFILE.PCT in
  333.                 directory SAVEDOC on drive D.  The original file
  334.                 MYFILE.DOC remains untouched.
  335.  
  336.                                  294
  337.        margins: In the example on the preceding page, the margins and
  338.                 tabs for the new MYFILE.PCT file will be set at the
  339.                 following defaults:
  340.  
  341.                 LEFT=5    RIGHT=75   no INDENT
  342.                 TABS at 10,20,30,40,50,60, and 70
  343.  
  344.                 If these settings are not appropriate for the files
  345.                 you are converting, you can set them as desired by
  346.                 using the DOS SET command as:
  347.  
  348.                 SET L=#   # is column number for left   margin
  349.                 SET R=#   # is column number for right  margin
  350.                 SET I=#   # is column number for indent margin
  351.                 SET E=#   (Every #) e.g. E=10 would imply 10,20, etc.
  352.  
  353.                 These settings are placed in the DOS environment and
  354.                 will remain there until they are deleted, reset, or
  355.                 you reboot your machine.  In this manner, you can set
  356.                 them once for a number of files, reset them for
  357.                 another group, etc.
  358.  
  359.        example: The following set command:
  360.  
  361.                 C>set l=10
  362.                 C>set i=15
  363.                 C>set r=75
  364.                 C>set e=5
  365.  
  366.                 would set the margins at 10 and 75 with an indent at
  367.                 15.  Tabs would be set at 20, 25, 30, ... and 70.
  368.  
  369.                 Now the commands:
  370.  
  371.                 C>cnb d:\savedoc\myfile doc
  372.                 C>cnb d:\savedoc\myfil2 doc
  373.  
  374.                 will cause the output files D:\SAVEDOC\MYFILE.PCT and
  375.                 D:\SAVEDOC\MYFIL2.PCT to have the desired margins
  376.                 and tabs.
  377.  
  378.                 If you are converting another group of files and do
  379.                 not want an indent in the next group, then change the
  380.                 indent setting to the left margin value as:
  381.  
  382.                 C>set i=10
  383.  
  384.                 and run CNB on the next group of files.  You do not
  385.                 have to reset all four parameters unless you want all
  386.                 four parameters to change.
  387.  
  388.  
  389.  
  390.  
  391.  
  392.                                  295
  393.        subject: CNVPRN.EXE
  394.  
  395.     discussion: Figuring out your printer escape codes can be a
  396.                 frustrating experience.  If you set up your own escape
  397.                 codes in PC-Type+, you probably don't look forward to
  398.                 doing it again with this new version of PC-Type II.
  399.  
  400.                 Since the format in which printer escape codes are
  401.                 saved is different in the two programs, the utility
  402.                 CNVPRN.EXE has been included to make this conversion
  403.                 for you.  To use CNVPRN, you must save your PC-Type+
  404.                 escape codes in a .PRN file.  If you have already done
  405.                 this, skip to "format" on the next page.
  406.  
  407.                 To create a .PRN file if your printer escape codes
  408.                 have been saved within PC-Type+ itself, perform the
  409.                 following steps:
  410.  
  411.                 (1) Start PC-Type+ as:     C>pctype
  412.                 (2) Press F8, the MISCELLANEOUS OPTIONS menu.
  413.                 (3) Press F3, the "Save Defaults" option.
  414.                 (4) Press the P key in response to the question:
  415.  
  416.                 Save Printer defaults or All defaults? (press P or A)
  417.  
  418.                 (5) Press the F key in response to the question:
  419.  
  420.                 Save to File or to PC-Type? (press F or P)
  421.  
  422.                 (6) Blank out the "Path" field using F6 in response to:
  423.  
  424.                       Enter Save-Defaults Path - then press F10
  425.                       (Null field=Current Dir) (Esc=exit)
  426.  
  427.                     and then press F10.  This causes the new printer
  428.                     file to be written to your default directory.
  429.  
  430.                 (7) A list of any files on the directory with the file
  431.                     extension .PRN will now be displayed.  In response
  432.                     to the request:
  433.  
  434.  
  435.                        Select by tabbing to desired file -
  436.                        then press F10 (or press Esc to Exit)
  437.  
  438.                     press the Tab key to move to the field displaying
  439.                     "New File" and press F10.
  440.  
  441.                 (8) The field will now be ready for the filename you
  442.                     wish.  In response to the request:
  443.  
  444.                        Enter new File Name
  445.  
  446.                     type the filename (with no extension, .e.g.,
  447.                     myfile") and then press the Enter key.
  448.                                  296
  449.                 (9) You should now see the message:
  450.  
  451.                        Defaults have been moved.
  452.                        Press a letter key to continue
  453.  
  454.                     so press a key and then exit PC-Type+ by pressing
  455.                     F4.  Your printer codes will be in the file
  456.                     "filename.prn".
  457.  
  458.         format: at the DOS prompt, type:
  459.  
  460.                 CNVPRN filename
  461.  
  462.                 Assuming the file "filename.PRN" is a valid PC-Type+
  463.                 printer escape code file, CNVPRN will change its name
  464.                 to "filename.BAK" and create a new "filename.PRN" in
  465.                 the new PC-Type II format.
  466.  
  467.                 "filename" can include a drive and path as well as a
  468.                 filename.  The extension .PRN does not have to be
  469.                 given, but it won't hurt to include it.
  470.  
  471.                 As CNVPRN converts to the new format, it also displays
  472.                 the results on your screen.
  473.  
  474.                 You may reference a converted .PRN file in your
  475.                 PCTYPE.PRO file (see page 108), or load it from inside
  476.                 PC-Type II as needed (see page 118).
  477.  
  478.  
  479.  
  480.  
  481.  
  482.  
  483.  
  484.  
  485.  
  486.  
  487.  
  488.  
  489.  
  490.  
  491.  
  492.  
  493.  
  494.  
  495.  
  496.  
  497.  
  498.  
  499.  
  500.  
  501.  
  502.  
  503.  
  504.                                  297
  505.